package org.zoomdev.zoom.dao.transaction;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import static org.zoomdev.zoom.dao.transaction.TransactionLevel.TRANSACTION_READ_COMMITTED;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface Trans {
    TransactionLevel level() default TRANSACTION_READ_COMMITTED;
}
